<?php
class ui_circle_action_join extends ui {
	public function __construct($S, $param) {
		parent::__construct();
		
		$data_circle = new data_circle();
		$data = $data_circle->add_member($param['inviter_id'], $this->uid, $param['id']);
		
		if ($data) {
			$S->assign('data', 'true');
		} else {
			$S->assign('data', 'false');
		}
	}
}
?>
